package com.example.educationai.service;

import com.example.educationai.entity.Exam;
import com.example.educationai.entity.ClassEntity;
import com.example.educationai.entity.SimpleUser;
import java.util.List;

public interface ExamService {
    Exam createExam(Exam exam);
    Exam updateExam(Exam exam);
    void deleteExam(Long id);
    Exam getExam(Long id);
    List<Exam> getClassEntityExams(ClassEntity classEntity);
    List<Exam> getClassEntityExamsOrderByDate(ClassEntity classEntity);
    List<Exam> getStudentExams(SimpleUser student);
    List<Exam> getTeacherExams(SimpleUser teacher);
    List<Exam> findByTeacherId(Long teacherId);
    Exam save(Exam exam);
} 